class Note < ActiveRecord::Base
  belongs_to :user
  scope :user_note, ->(user_id) { where('user_id = ?', user_id).where(kind: "zero") }
end
